<%@ Page language="c#" Codebehind="CategoryForm.aspx.cs" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.MediaGalleries.CategoryForm" MasterPageFile="~/ControlPanel/Masters/Modal.master" %>
<%@ Import Namespace="CommunityServer.Components" %>

<asp:Content ContentPlaceHolderId="bcr" runat="server">
	<script type="text/javascript">
	// <![CDATA[
	function closeModal()
	{
		window.parent.Telligent_Modal.Close(true);
	}
	// ]]>
	</script>
	<div class="CommonContentArea">
		<div class="CommonContent">
			<div class="CommonFormFieldName">
				<strong><CP:FormLabel id="tt" runat="Server" ResourceName="CP_MediaGalleries_CategoryForm_Name" ControlToLabel="CategoryName"></CP:FormLabel></strong>
				<asp:RequiredFieldValidator id="RequiredFieldValidator1" Text="Please include a name" Display="Dynamic" ControlToValidate="CategoryName"
					Runat="server"></asp:RequiredFieldValidator></div>
			<div class="CommonFormField">
				<asp:TextBox id="CategoryName" Runat="server" MaxLength="256" CssClass="ControlPanelTextInput"></asp:TextBox></div>
				<div class="CommonFormFieldName">
					<strong><CP:FormLabel id="Formlabel1" runat="Server" ResourceName="CP_MediaGalleries_CategoryForm_Description" ControlToLabel="CategoryDesc"></CP:FormLabel></strong></div>
				<div class="CommonFormField">
					<asp:TextBox id="CategoryDesc" Runat="server" MaxLength="256" CssClass="ControlPanelTextInput"
						TextMode="MultiLine"></asp:TextBox></div>
				<div class="CommonFormField">
					<asp:CheckBox id="CategoryEnabled" Runat="server" /><CP:FormLabel id="Formlabel2" runat="Server" ResourceName="CP_MediaGalleries_CategoryForm_Enabled" ControlToLabel="CategoryEnabled"></CP:FormLabel>
                </div>
				<div class="CommonFormField PanelSaveButton">
					<CP:ResourceLinkButton id="Button1" ResourceName="Save" Runat="server"  CssClass="CommonTextButton"></CP:ResourceLinkButton></div></p>
		</DIV>
	</DIV>
</asp:Content>